import os
import sys
import runpy
# from tenacity import retry, stop_after_attempt, stop_after_delay
from retrying import retry

@retry(stop_max_attempt_number=2)
def main():
    BASE_DIR = os.path.dirname(os.path.dirname(os.path.abspath(__file__)))
    sys.path.append(BASE_DIR)
    runpy.run_path(os.path.join(BASE_DIR, 'test_cases', 'test_case2bugRef.py'), init_globals=None, run_name='__main__')

if __name__ == "__main__":
    main()